import Vue from 'vue'
import App from './App.vue'
import ElementUI from  'element-ui';
import router from './config/router.js'
import Axios from 'axios'
import 'element-ui/lib/theme-chalk/index.css';
import '../public/css/main.css'
import echarts from 'echarts'
import infiniteScroll from "vue-infinite-scroll";
Vue.config.productionTip = false;
Vue.use(infiniteScroll);
Vue.use(ElementUI);
Vue.prototype.$axios = Axios;
Vue.prototype.$echarts = echarts;

Vue.prototype.autoPhoto = function (photo) {
    return 'http://180.76.236.187:8088'+photo
}
new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
